package com.tedu._05springmvc2.mapper;

import com.tedu._05springmvc2.pojo.entity.User;
import com.tedu._05springmvc2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int insert(User user);

    int deleteById(Integer id);

    int updateById(User user);

    List<UserVO> selectAll();
}
